package com.itheima.localdatetime;

import java.time.LocalDateTime;

public class Demo04 {

    public static void main(String[] args) {
        LocalDateTime now = LocalDateTime.now();
        now= LocalDateTime.of(2021,10,11,11,11,11);

        LocalDateTime dateTime = now.plusMonths(10);
        System.out.println(dateTime);
        System.out.println(now);


    }
}
